package view;

import java.awt.Color;
import java.awt.EventQueue;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;

public class JLogin extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					JLogin frame = new JLogin();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public JLogin() {
		setResizable(false);
		setAutoRequestFocus(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setForeground(Color.WHITE);
		setTitle("Empresta Livro");
		setType(Type.UTILITY);
		setBounds(100, 100, 611, 443);
		
		JMenuBar menuBar = new JMenuBar();
		setJMenuBar(menuBar);
		
		JMenu mnAjuda = new JMenu("Ajuda");
		menuBar.add(mnAjuda);
		contentPane = new JPanel();
		contentPane.setBackground(new Color(204, 204, 255));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblEmprestaLivro = new JLabel("Empresta Livro");
		lblEmprestaLivro.setBounds(272, 27, 118, 14);
		contentPane.add(lblEmprestaLivro);
		
		JLabel lblLivro = new JLabel("Livro:");
		lblLivro.setBounds(55, 103, 53, 14);
		contentPane.add(lblLivro);
		
		JTextArea textArea_3 = new JTextArea();
		textArea_3.setBackground(Color.LIGHT_GRAY);
		textArea_3.setBounds(118, 98, 183, 22);
		contentPane.add(textArea_3);
		
		JLabel lblCliente = new JLabel("Cliente:");
		lblCliente.setBounds(55, 147, 53, 14);
		contentPane.add(lblCliente);
		
		JTextArea textArea_4 = new JTextArea();
		textArea_4.setBackground(Color.LIGHT_GRAY);
		textArea_4.setBounds(118, 142, 183, 22);
		contentPane.add(textArea_4);
		
		JTextArea textArea_5 = new JTextArea();
		textArea_5.setBackground(Color.LIGHT_GRAY);
		textArea_5.setBounds(118, 190, 183, 22);
		contentPane.add(textArea_5);
		
		JLabel lblDataDeDevoluo = new JLabel("Data de devolu\u00E7\u00E3o:");
		lblDataDeDevoluo.setBounds(10, 195, 98, 14);
		contentPane.add(lblDataDeDevoluo);
		
		JButton button = new JButton("Cancelar");
		button.setBounds(220, 295, 89, 23);
		contentPane.add(button);
		
		JButton button_1 = new JButton("Cadastrar");
		button_1.setBounds(348, 295, 98, 23);
		contentPane.add(button_1);
		
		JTextArea textArea = new JTextArea();
		textArea.setBackground(Color.LIGHT_GRAY);
		textArea.setBounds(118, 238, 183, 22);
		contentPane.add(textArea);
		
		JLabel lblDataDeAtual = new JLabel("Data de Atual:");
		lblDataDeAtual.setBounds(10, 243, 98, 14);
		contentPane.add(lblDataDeAtual);
		
		JLabel labelfundo = new JLabel((String) null);
		labelfundo.setIcon(new ImageIcon("C:\\Users\\Dick developer\\workspace\\ClubeDaLeitura\\src\\image\\fundobranco.jpg"));
		labelfundo.setBounds(0, 0, 605, 398);
		contentPane.add(labelfundo);
	}

}
